#!/bin/bash
# nohup sh start-minio-cluster.sh  >  ./logs/minio.log 2>&1 &
# minio data dir: /opt/data/minio/data1
#./minio server /opt/data/minio/data1
export MINIO_ROOT_USER=minio
export MINIO_ROOT_PASSWORD=12345678 # > 8 characters
#nohup ./minio server  --console-address ":9000" /opt/data/minio/data1  >  ./logs/minio.log 2>&1 &
./minio server --config-dir ./conf --console-address ":18001" --address ":16001" \
http://linux245/opt/hdp/data/minio/data1 \
http://linux245/opt/hdp/data/minio/data2 \
http://linux190/opt/hdp/data/minio/data1 \
http://linux190/opt/hdp/data/minio/data2 \
http://linux186/opt/hdp/data/minio/data1 \
http://linux186/opt/hdp/data/minio/data2 \
http://wmj004/opt/hdp/data/minio/data1 \
http://wmj004/opt/hdp/data/minio/data2